package orm;

import java.sql.Timestamp;

/**
 * Letter entity. @author MyEclipse Persistence Tools
 */

public class Letter implements java.io.Serializable {

	// Fields

	private Integer letterid;
	private Integer fromid;
	private Integer toid;
	private String content;
	private Timestamp sendtime;
	private Boolean status;

	// Constructors

	/** default constructor */
	public Letter() {
	}

	/** full constructor */
	public Letter(Integer fromid, Integer toid, String content,
			Timestamp sendtime, Boolean status) {
		this.fromid = fromid;
		this.toid = toid;
		this.content = content;
		this.sendtime = sendtime;
		this.status = status;
	}

	// Property accessors

	public Integer getLetterid() {
		return this.letterid;
	}

	public void setLetterid(Integer letterid) {
		this.letterid = letterid;
	}

	public Integer getFromid() {
		return this.fromid;
	}

	public void setFromid(Integer fromid) {
		this.fromid = fromid;
	}

	public Integer getToid() {
		return this.toid;
	}

	public void setToid(Integer toid) {
		this.toid = toid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getSendtime() {
		return this.sendtime;
	}

	public void setSendtime(Timestamp sendtime) {
		this.sendtime = sendtime;
	}

	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

}